package com.ruoyi.passengers.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 消费信息对象 consumption_information
 * 
 * @author ruoyi
 * @date 2025-08-17
 */
public class ConsumptionInformation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 消费记录ID */
    private Long id;

    /** 关联的乘客ID */
    @Excel(name = "关联的乘客ID")
    private Long passengerId;

    /** 总充值金额（单位：元） */
    @Excel(name = "总充值金额", readConverterExp = "单=位：元")
    private BigDecimal totalRechargeAmount;

    /** 退款金额（单位：元） */
    @Excel(name = "退款金额", readConverterExp = "单=位：元")
    private BigDecimal refundAmount;

    /** 总订单支付金额（单位：元） */
    @Excel(name = "总订单支付金额", readConverterExp = "单=位：元")
    private BigDecimal totalOrderPaymentAmount;

    /** 本月订单支付金额（单位：元） */
    @Excel(name = "本月订单支付金额", readConverterExp = "单=位：元")
    private BigDecimal currentMonthOrderPaymentAmount;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setPassengerId(Long passengerId) 
    {
        this.passengerId = passengerId;
    }

    public Long getPassengerId() 
    {
        return passengerId;
    }

    public void setTotalRechargeAmount(BigDecimal totalRechargeAmount) 
    {
        this.totalRechargeAmount = totalRechargeAmount;
    }

    public BigDecimal getTotalRechargeAmount() 
    {
        return totalRechargeAmount;
    }

    public void setRefundAmount(BigDecimal refundAmount) 
    {
        this.refundAmount = refundAmount;
    }

    public BigDecimal getRefundAmount() 
    {
        return refundAmount;
    }

    public void setTotalOrderPaymentAmount(BigDecimal totalOrderPaymentAmount) 
    {
        this.totalOrderPaymentAmount = totalOrderPaymentAmount;
    }

    public BigDecimal getTotalOrderPaymentAmount() 
    {
        return totalOrderPaymentAmount;
    }

    public void setCurrentMonthOrderPaymentAmount(BigDecimal currentMonthOrderPaymentAmount) 
    {
        this.currentMonthOrderPaymentAmount = currentMonthOrderPaymentAmount;
    }

    public BigDecimal getCurrentMonthOrderPaymentAmount() 
    {
        return currentMonthOrderPaymentAmount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("passengerId", getPassengerId())
            .append("totalRechargeAmount", getTotalRechargeAmount())
            .append("refundAmount", getRefundAmount())
            .append("totalOrderPaymentAmount", getTotalOrderPaymentAmount())
            .append("currentMonthOrderPaymentAmount", getCurrentMonthOrderPaymentAmount())
            .toString();
    }
}
